Works for almost anything. In this cheat you need to be playing multiplayer and you need a chest.
- Both players get in the chest.
- Put the item in the chest you want to duplicate ( my example is diamond )
- Both players click on the diamond at the same time (It might not work if you can not if you can not get the timeing right)
- Now there should be 1 diamond in both players invertory.