DuplicateFunc
The type of functions that are used to 'duplicate' an object. What this means depends on the context, it could just be incrementing the reference count, if @data is a ref-counted object.
param
data
the data to duplicatereturn a duplicate of data