To create a duplicate of a given record
With this function, you create an exact duplicate of the record to which you apply this function. Also, linked data from sub-tables will be transferred.
Result: The current record—with all entries—is duplicated.
let newRecord := duplicate(this);
Result: Creates a duplicate of the current record and opens it.