/** * Clone to create a sub HTML2PDF from HTML2PDF::$_subobj * * @access public */ public function __clone() { $this->pdf = clone $this->pdf; $this->parsingHtml = clone $this->parsingHtml; $this->parsingCss = clone $this->parsingCss; $this->parsingCss->setPdfParent($this->pdf); }