Returns a copy of the given object that only contains the given keys.
let object = { foo: 1, bar: 2, baz: 3 } up.util.pick(object, ['foo', 'baz']) // result: { foo:1, baz: 3 }