public function only(array $keys) { return new static(array_intersect_key($this->elements, array_flip($keys))); }