chore(shallowCopy): handle arrays and primitives, and switch to using it where possible
In many cases, we want a shallow copy instead of a full copy Closes #7618
R
rodyhaddad committed
8d262386641f0754f11684f19c9613269afbadbb
Parent: b7cb454