Clone algorithm after selection