Yes, don't change amount or dueDate.

It is important to realise that these variables (and others like them in Java) are references (or pointers) to objects. If you pass such references around...