public function withLocality($locality) { $new = clone $this; $new->locality = $locality; return $new; }