code: function _cloneTransforms(transforms) {
  	// Clone the object itself
  	transforms = extendObject({}, transforms);
  	// Clone the object's masks array
  	transforms.masks = transforms.masks.slice(0);
  	return transforms;
  }
docs: Clone the given transformations object