function pick(object, predicate, thisArg) {
      if (object == null) {
        return {};
      }
      return typeof predicate == 'function'
        ? pickByCallback(object, getCallback(predicate, thisArg, 3))
        : pickByArray(object, baseFlatten(arguments, false, false, 1));
    }
Creates a shallow clone of `object` composed of the specified properties.
Property names may be specified as individual arguments or as arrays of
property names. If `predicate` is provided it is invoked for each property
of `object` picking the properties `predicate` returns truthy for. The
predicate is bound to `thisArg` and invoked with three arguments;
(value, key, object).

@static
@memberOf _
@category Object
@param {Object} object The source object.
@param {Function|...(string|string[])} [predicate] The function invoked per
 iteration or property names to pick, specified as individual property
 names or arrays of property names.
@param {*} [thisArg] The `this` binding of `predicate`.
@returns {Object} Returns the new object.
@example

_.pick({ 'user': 'fred', '_userid': 'fred1' }, 'user');
// => { 'user': 'fred' }

_.pick({ 'user': 'fred', '_userid': 'fred1' }, function(value, key) {
  return key.charAt(0) != '_';
});
// => { 'user': 'fred' }