public function __clone() { $this->isFinalized = false; $this->definition = null; $this->class = null; $this->mock = null; }