Creates a copy of the Seed object with an optional new value. If no value is provided, the current value is used.
A new Seed object with the specified value.
The new value for the seed (optional).