public Object clone() throws CloneNotSupportedException
    {
        Style result = (Style)super.clone();
      if(result.iconStyle!=null)
      {
        result.iconStyle = (IconStyle)this.iconStyle.clone();
        result.iconStyle.setParent(result);
      }
      if(result.labelStyle!=null)
      {
        result.labelStyle = (LabelStyle)this.labelStyle.clone();
        result.labelStyle.setParent(result);
      }
      if(result.lineStyle!=null)
      {
        result.lineStyle = (LineStyle)this.lineStyle.clone();
        result.lineStyle.setParent(result);
      }
      if(result.polyStyle!=null)
      {
        result.polyStyle = (PolyStyle)this.polyStyle.clone();
        result.polyStyle.setParent(result);
      }
      if(result.balloonStyle!=null)
      {
        result.balloonStyle = (BalloonStyle)this.balloonStyle.clone();
        result.balloonStyle.setParent(result);
      }
      if(result.listStyle!=null)
      {
        result.listStyle = (ListStyle)this.listStyle.clone();
        result.listStyle.setParent(result);
      }
        return result;
    }