stamp uses a LinkedHashSet for optimized contains() and indexOf(), + other updates