public function __clone() { self::$_counter++; $oldId = $this->_uniqueId; $this->_uniqueId = self::$_counter; $this->log('Cloned from id=' . $oldId . ' and created new with ' . 'id=' . $this->_uniqueId . '; dump=' . $this->dump(false)); }