components)) { $this->components = array_map( fn (Component $component): Component => $component ->container($this) ->getClone(), $this->components, ); } return $this; } public function getClone(): static { $clone = clone $this; $clone->cloneComponents(); return $clone; } }