duplicate(item)
Duplicates the given page after the current page or the given page item to the current page and layer. If a page is duplicated, basil.js automatically jumps to the new page.
Type: function
Parameter(s):
- item {PageItem | Page}:The page item or page to duplicate. 
Returns:
- 
    {Object}:
 The new page item or page.