clear() for bsonc