Added clear_markers to select_ival

* added tests
* updated docs