It's now safe to use Arrays and Objects in Widget::initialCtx. They are safely cloned when initializing a new widget instance.