Implement a generic Set data structure backed by a list with automatic deduplication via cleanup method. Includes core set operations: element addition/removal, membership testing, cardinality, functional transformations (map/where), union via + operator, and set difference via - operator. Also provides iteration support through iterate/iteratorValue methods.