chore(shallowCopy): ensure primitives return the src argument