Context store and array

When you read from context you are getting a reference to the object held in context. If you modify it, you are modifying the object held in context.

If you want to modify it without modifying what is held in context, then you need to clone it.