add clear operation to strmap