first you push the o button then you go to the merchant and sell him the stuff you want to dupe then buy it all back at no price for however many you want. at least thats how i remember.
you first push the 0 button then go to a merchant and sell the thing you want to dupe(its should still be in ur inventory) and then go to the buyback tab, and buy it back. Hope i helped