Duplicate the parameter buffer in StoredProcedureInvocation before using it
for deserialization for thread-safety.