Is creating a shallow copy of `globalRenderedMods[name]` really necessary? Are you afraid someone might modify this object?