Im not sure if this is still working but;
-
Open up inventory, close inentory
Go to inventory chest, put in desired item.
Close inventory chest
Close and press save and quit
Return
Open chest
Put desired item into inventory
Close out minecraft via red x on top right
Duped.