make a defensive copy of the map