Added clone methods to Rectangle, TileLayer and DoodadGroup.
Changed the Layer-type constructors to take a String name argument instead of Map.
Map#insertLayerAt now properly sets the map property.