Need help with item mechanic

So basically im looking for a way to have the item you use be able to duplicate. Or at least have a chance to duplicate. How can i go about doing this?
More of an explanation is needed.

You mean you want one item to become two? When? When you use it, or on its own after a set amount of time?
You could make a common event for it. Like say you want to have a 50/50 chance of getting an empty bottle when you use a potion. Make a variable that will randomly pick a number between 1 and 2. Now make a conditional branch that is tied to the variable and will give you the empty bottle when the variable is 1. Now it's 50/50 whether you get something or not.

Original thread: https://forums.rpgmakerweb.com/threads/need-help-with-item-mechanic.81944/