Availability:built-in
duplicate_term(+In,
-Out)Version of copy_term/2
that also copies ground terms and therefore ensures that destructive
modification using setarg/3
does not affect the copy. See also nb_setval/2, nb_linkval/2, nb_setarg/3
and nb_linkarg/3.