Add option to disable stack merging in inventory operations