Add #clearSelection method to public API

[#73893586]