public function __clone() { $this->full_path = null; if (!is_null($this->imageResource)) { parent::__clone(); } }