public function __clone() { if ($this->properties['filter'] instanceof OperatorCollection) { $this->properties['filter'] = clone $this->properties['filter']; } }