static L replaceInClonedList(L l, A a, A b) { ret replace(cloneList(l), a, b); } static L replaceInClonedList(A a, A b, L l) { ret replaceInClonedList(l, a, b); }