clone.properties = new Properties(getProperties());
clone.properties = (Properties) properties.clone();
    public Object clone() throws CloneNotSupportedException {        MapLayer clone = (MapLayer) super.clone();        // Create a new bounds object        clone.bounds = new Rectangle(bounds);        clone.properties = new Properties(getProperties());        return clone;    }