code: function() {
          var options = OpenLayers.Util.extend({}, this);
          // clone rules
          if(this.rules) {
              options.rules = [];
              for(var i=0, len=this.rules.length; i<len; ++i) {
                  options.rules.push(this.rules[i].clone());
              }
          }
          // clone context
          options.context = this.context && OpenLayers.Util.extend({}, this.context);
          //clone default style
          var defaultStyle = OpenLayers.Util.extend({}, this.defaultStyle);
          return new OpenLayers.Style(defaultStyle, options);
      }
docs: APIMethod: clone
  Clones this style.
  
  Returns:
  {<OpenLayers.Style>} Clone of this style.