public function __clone() { $this->condition = clone $this->condition; $this->ifTrue = $this->ifTrue === null ? null : clone $this->ifTrue; $this->ifFalse = clone $this->ifFalse; }