clone.bounds = new Rectangle(bounds);
    public Object clone() throws CloneNotSupportedException {        MapLayer clone = null;        clone = (MapLayer)super.clone();        // Clone the layer data        clone.map = new Tile[map.length][];        for (int i = 0; i < map.length; i++) {            clone.map[i] = new Tile[map[i].length];            System.arraycopy(map[i], 0, clone.map[i], 0, map[i].length);        }        return clone;    }