fix(shallowCopy): ensure primitives return the src argument