Don't bother. Two sexes allow us to shuffle our DNA, which give enough variation in each generation to let us adapt to a changing environment. Asexual reproduction - cloning - doesn't. Evolution isn't great at optimisation - it finds good enough solutions and sticks with them.
Optimisation programs need mechanisms to reach beyond the local optimum, and evolution hasn't come up with that yet, any more than it has come up with error-detecting and -correcting data coding.