SERVER-13961 fix struct/class mismatch in cloner