mahalanobis has a more complicated, but hopefully legal, clone method