/** * Clone the object */ public function __clone() { parent::__clone(); $this->embedStyle = clone $this->embedStyle; }