added clone method to config, broken BAB alg