/** * Clone Text */ public function __clone() { parent::__clone(); $this->font = clone $this->font; $this->coordinate = clone $this->coordinate; $this->drawer = clone $this->drawer; }