public function __clone() { if (is_object($this->parsedBody)) { $this->parsedBody = clone $this->parsedBody; } parent::__clone(); }