add duplicate item for DB
Merge branch 'master' into next
duplicate_item is now a function returning the new_id, we keep the file