public function __clone() { //XXX: Should we clone the document? // Make sure we clone the kids. $this->cloneAll(); }