Disable Carpet Duping?

Is there any way to patch carpet dupes without affecting TNT dupes? If not, is there any way to disable carpet smelting?