If only it was that easy.
Actually setting the itemdata (derp) certainly helps but doesn’t solve the persistence issue, taking the gun out of the primary slot and dropping it should be handled entirely by JCinventory and as such ought to work, yet it doesn’t.