/** * Object clone hook. * * Destroys the clones inner iterator and clones the value binder, and eagerloader instances. * * @return void */ public function __clone() { parent::__clone(); if ($this->_eagerLoader) { $this->_eagerLoader = clone $this->_eagerLoader; } }