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