The whole thing is immutable, that's why there is ...
# stdlib
m
The whole thing is immutable, that's why there is
newItems
and at the end I return a copy:
return copy(..., items = newItems)