setDuplicate

Returns a deep copy of a set.

setDuplicate(set) → returns any

Member Function Syntax

mySet.duplicate()

This function requires Adobe ColdFusion 2025.0.8 and up.  Not supported on Lucee, etc.

Argument Reference

set any
Required

The set.

Compatibility

ColdFusion:

Version 2025.0.8+ Listed by getFunctionList() in ColdFusion 2025+. No official documentation exists.

Links more information about setDuplicate

Examples
Sample code invoking the setDuplicate function

Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.

Fork me on GitHub