Best way to duplicate a record through the use of custom action

Anyone here managed to do this?

How did you do it? via API? via expression language?

Tags: