Correctly clone tables.