public function __clone() { $this->queryBuilder = clone $this->queryBuilder; $this->result = null; $this->resultCount = null; $this->fetchIterator = null; }