Keep metadata when creating new stacks in inventories