[Olena-patches] 3643: Add a new variant of clean_lines.