public function __clone() { if (null !== $this->constructor) { $this->constructor = clone $this->constructor; } }