ModelStorage.copy tries to create/write on table query ModelSQL
Since #6794 (closed), copying a product crash because it tries to create records for 'categories_all' which point to a 'table_query' ModelSQL.
ModelStorage.copy should skip the values of those fields like it does for Function fields.