Copies the map, changes made to the given map after calling the constructor are not reflected into the NamespaceContext.