what you want is a data class, but, minus the copy...
# announcements
m
what you want is a data class, but, minus the copy() method (or perhaps more helpfully with copy made also private)
v
what if you declare a
private copy() {}
in the class ?