public function update($value) { if ($this->value === $value) { return $this; } return new self($value); }