As you said, it prevents the parameterized dict object from being modified, although in this particular case that's not a problem so the copy is unnecessary.