Mojang changed behavior of .cloneItemStack() so that if you clone while count = 0, it clones as AIR instead of original Item type. So we needed a flag to keep old behavior.