Object.{pick,omit}

That's not the same - you're just reassigning the local obj variable (which isn't accomplishing anything, because you don't do anything with the new object) - they're wanting to actually mutate the source object