diff --git a/src/main/java/org/mariadb/jdbc/CallableProcedureStatement.java b/src/main/java/org/mariadb/jdbc/CallableProcedureStatement.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/mariadb/jdbc/CallableProcedureStatement.java
+++ b/src/main/java/org/mariadb/jdbc/CallableProcedureStatement.java
@@ -101,6 +101,8 @@ public abstract class CallableProcedureStatement extends MariaDbPreparedStatemen
         CallableProcedureStatement clone = (CallableProcedureStatement) super.clone(connection);
         clone.params = params;
         clone.parameterMetadata = parameterMetadata;
+        clone.hasInOutParameters = hasInOutParameters;
+        clone.outputParameterMapper = outputParameterMapper;
         return clone;
     }
[misc] correcting cloning CallableProcedureStatement