We are mutating this._components. But it is dangerous to mutate an array while iterating over it, so we iterate over a copy instead.