PassBy="value" do not duplicate entire structure

Description

Hi,
found that PassBy="value" do not duplicate entire structure.
If I add array to a struct, and modify that structure in a function with argument passby="value"
My array also will be modified.

will return ["John","Jason","James", "TEST"]

Tryed to do <cfset data = duplicate(data)>
Works as expected, “combination” wont be modified

Tested on coldfusion 18 with <cfapplication passarraybyreference = "true | false">
works as expected.

Assignee

Unassigned

Reporter

Guardian

Labels

Affects versions

Priority

Critical
Configure