We use thin sheets of packing foam between the ones we stack. Most of the pans have their own space in the cupboard.
Again, we supposedly do everything correctly with our nonstick: teflon or wood utensils, soft sponge to clean, and foam protectors. They still start to degrade.