If a clear is done because of "clearIfNotMatch", it would be nice to have a callback available that says that this occurred.