Clone reducing script used in Estep et al. (2014).