diff --git a/plugins/export_ui/views_ui.class.php b/plugins/export_ui/views_ui.class.php
index 5d0dc6a..8dfe195 100644
--- a/plugins/export_ui/views_ui.class.php
+++ b/plugins/export_ui/views_ui.class.php
@@ -378,7 +378,7 @@ class views_ui extends ctools_export_ui {
  */
 function views_ui_clone_form($form, &$form_state) {
   $counter = 1;
-  $view = views_get_view($form_state['original name']);
+  $view = views_get_view_template($form_state['original name']);
   do {
     if (empty($form_state['item']->is_template)) {
       $name = format_plural($counter, 'Clone of', 'Clone @count of') . ' ' . $view->get_human_name();
diff --git a/views.module b/views.module
index 259dc52..c85f6d0 100644
--- a/views.module
+++ b/views.module
@@ -1395,6 +1395,17 @@ function views_get_view($name, $reset = FALSE) {
 }
 
 /**
+ * Get a template view from code.
+ *
+ * @param $name
+ *   The name of the view.
+ */
+function views_get_view_template($name) {
+  $templates = views_get_all_templates();
+  return $templates[$name];
+}
+
+/**
  * Find the real location of at able.
  *
  * If a table has moved, find the new name of the table so that we can
