public function cloneAll() { $found = new \SplObjectStorage(); foreach ($this->matches as $m) { $found->attach($m->cloneNode(true)); } //return $this->inst($found, NULL, $this->options); $this->setMatches($found); return $this; }