Creates a new object by omitting specified properties from the input object.
Creates a new object with the specified properties from the given object.