Side effect Dollar class in TheMoneyExample class

When using ten dollar class object again (using times method) it gives error because amount already changed from 10 to 30.
So for using ten dollar object again and again times method should return new object dollar object.