code: function (obj) {
  
          if (obj == null) {
              obj = new OpenLayers.Layer.Zoomify(this.name,
                                             this.url,
                                             this.size,
                                             this.options);
          }
  
          //get all additions from superclasses
          obj = OpenLayers.Layer.Grid.prototype.clone.apply(this, [obj]);
  
          // copy/set any non-init, non-simple values here
  
          return obj;
      }
docs: APIMethod: clone
  
  Parameters:
  obj - {Object}
  
  Returns:
  {<OpenLayers.Layer.Zoomify>} An exact clone of this <OpenLayers.Layer.Zoomify>