Handling Duplication Glitches (Before and after they happen)

I’m about to add trading to my game, Darklight, but I’m worried about duplication glitches that could possibly happen.

What I’m wondering is if one pops up, how should I handle it? I was thinking of locking trading until it’s fixed, but then the duplicated items are still there. Will it eventually just fade out and not matter, or should I do something to make sure it doesn’t happen in the first place? If I do, how would I do that?

Thanks in advance.

quite honestly it depends on the glitch and how it works and your game and yadayadayada. you get it. Every dev handles stuff like this differently, it depends on you and your game more then anything

if they’re just cosmetic items make them trade locked, if not its up to you