code: function(options) {
        if (this.constructor.fromObject) {
          return this.constructor.fromObject(this.toObject(), options);
        }
        return new fabric.Object(this.toObject());
      }
docs: Clones an instance
  @method clone
  @param {Object} options object
  @return {fabric.Object} clone of an instance