public function __clone() { $this->parameters = self::cloneAll($this->parameters); $this->bodyExpressions = self::cloneAll($this->bodyExpressions); $this->usedVariables = self::cloneAll($this->usedVariables); }