remove

abstract fun <T : Any> remove(key: AttributeKey<T>)

Removes an attribute with the specified key