Partially mutable object

Here is a discussion of many alternatives: Mutable scalar in immutable object: the best alternative?