Similarity Clusterer after correct code review errors

Task #13238
Correct errors after code review