Added configuration item "preserve_enchantments" and supporting code.