private void doInsert(int row, int count, TaskMonitor monitor) {
		try {
			model.duplicateMultiple(row, count, monitor);
		}
		catch (CancelledException e) {
			// user cancelled
		}
		catch (UsrException e) {
			model.setStatus(e.getMessage(), true);
		}
		model.fireTableDataChanged();
	}
Action that allows the user to make multiple duplicates of the selected item
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/compositeeditor/DuplicateMultipleAction.java