Fix repeated invocation of UDFs

Use copy.deepcopy instead of copy.copy when instantiating function arguments.  Python has forsaken me.

Fixes #150