function createCloner(func) {
  return function(object) {
    return func({}, object);
  };
}
Creates a function that clones a given object using the assignment `func`.

@private
@param {Function} func The assignment function.
@returns {Function} Returns the new cloner function.