diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c6e83769771d100e321cf5d93e26fb7b3f11acfd..5585ff5fbf8a037fc8aae8cfd0b76d873a15684d 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -68,6 +68,12 @@ losoto_abs:
   script:
     - cwl-runner --no-container steps/LoSoTo.Abs.cwl test_jobs/losoto_abs.json
 
+losoto_duplicate:
+  stage: test_steps
+  allow_failure: true
+  scripts:
+    - cwl-runner --no-container steps/LoSoTo.Duplicate.cwl test_jobs/losoto_duplicate.json
+
 losoto_plot:
   stage: test_steps
   allow_failure: true
diff --git a/steps/LoSoTo.Duplicate.cwl b/steps/LoSoTo.Duplicate.cwl
new file mode 100644
index 0000000000000000000000000000000000000000..777f6a6bb66188a98af568ca10989fb133b2bded
--- /dev/null
+++ b/steps/LoSoTo.Duplicate.cwl
@@ -0,0 +1,48 @@
+#!/usr/bin/env cwl-runner
+
+class: CommandLineTool
+cwlVersion: v1.0
+id: losoto_duplicate
+
+doc: |
+  Duplicate a table
+
+requirements:
+  InlineJavascriptRequirement: {}
+  InitialWorkDirRequirement:
+    listing:
+      - entryname: 'parset.config'
+        entry: |
+          [duplicate]
+          soltab = $(inputs.soltab)
+          operation = DUPLICATE
+          $(inputs.soltabOut !== null? 'soltabOut=' + inputs.soltabOut: '')
+
+      - entryname: $(inputs.input_h5parm.basename)
+        entry: $(inputs.input_h5parm)
+        writable: true
+
+baseCommand: "losoto"
+
+arguments:
+  - $(inputs.input_h5parm.basename)
+  - parset.config
+
+hints:
+  DockerRequirement:
+    dockerPull: lofareosc/prefactor-ci:master
+
+inputs:
+  - id: input_h5parm
+    type: File
+  - id: soltab
+    type: string
+    doc: "Solution table"
+  - id: soltabOut 
+    type: string?
+    doc: Output table name. By default choose next available from table type.
+outputs:
+  - id: output_h5parm
+    type: File
+    outputBinding:
+      glob: $(inputs.input_h5parm.basename)
diff --git a/test_jobs/losoto_duplicate.cwl b/test_jobs/losoto_duplicate.cwl
new file mode 100644
index 0000000000000000000000000000000000000000..ff1cfa0ffb800683bec498e1b97949b3383b6a1d
--- /dev/null
+++ b/test_jobs/losoto_duplicate.cwl
@@ -0,0 +1,7 @@
+{
+    "input_h5parm": {
+            "class": "File",
+            "path": "/data/example.h5"
+        },
+    "soltab": "sol000/amplitude000"
+}