Clone API or UI Dialog Box


I am looking for a way to clone an issue either through API or through opening the JIRA Clone Modal dialog on the screen. Is there a way to do this? As far as I can see, there is one clone API used by JIRA, but that is marked as internal. Also I am not able to find any UI events to trigger the clone modal dialog (something like how we can open the issue create dialog).