Step 1: Find a Jerry Can, Tent, or Chainsaw. (From here on in I'll be describing these steps with the Jerry Can in mind, however it works the same with the Tent and Chainsaw as well.)
Step 2: Make sure that the Jerry Can is on the ground, and that when you scroll while looking at the item it has the option to put the Jerry Can in your hands.
Step 3: Scroll while looking at the Jerry Can, and select the option to put item in your hands.
Step 4: Now that the item is in your hands, open your inventory, and push the red 'X' on the top-right of the hands window to drop the item once more.
It usually helps to walk backwards in-game while you have your inventory to make this step easier, but as far as I know, it works fine either way.
Step 5: Scroll while looking at the Jerry Can once more, if you've done the glitch successfully, then the option to pick up the item with your hands should have disappeared.
Step 6: Begin walking away from the Jerry Can; if you continue watching the Jerry Can as you walk away, you should notice it eventually disappear. (The Jerry Can will almost always disappear in the first ten seconds after you've begun walking away.)
Step 7: Open your inventory once more, and look in the top-right corner of your inventory where it usually displays your clothing items in little boxes. You should notice that one of these small boxes contains a Jerry Can just like if you had picked it up with your hands normally. However, if you look closer, there is no white hand over the Jerry Can to indicate that the item is being held in your hands; it also doesn't appear in the window at the bottom of the screen, which proves the item isn't in your hands.
Step 8: You should now be able to walk around and do everything you would normally do if you were playing DayZ while "carrying" the Jerry Can in your inventory.