clear method

dynamic clear(
Map map
)