Is there a clean way to return a new object that omits certain properties that the original object contains without having to use something like lodash?
If you already use lodash, you may also do omit(obj, ["properties", "to", "omit"]) to get a new Object without the properties provided in the array.
omit(obj, ["properties", "to", "omit"])