The same healing pots all have the same uuid.
I'm sure there's an attribute, probably in root template, that determines the rules for item stacking.