In classic if we want to send a user to the clone page for an object an easy option would be to build the url manually, i.e. /{id}/e?clone=1
. How would one accomplish this in lightning?
For example, if we wanted to create have a page that shows a list of contacts and allow someone to clone a particular one, but don't want to write our own custom clone logic. Or if we wanted to override the standard clone button for some users but continue to use the standard clone functionality for others.
I was expecting there might be a helper method like there is for editing an object $A.get("e.force:editRecord");
, but I'm not seeing anything in the clone docs for this.