public function __clone() { $this->container = null; $this->fill = clone $this->fill; $this->border = clone $this->border; $this->shadow = clone $this->shadow; }
public function __clone() { parent::__clone(); self::$imageCounter++; $this->imageIndex = self::$imageCounter; }