public function __clone() { // registers this instance to the manager $this->currentId = Manager::getInstance()->addTable($this); }