whats wrong with a `attributes.clear()`?