Cdded table.deepcopy() to clone tables.