Standard serialisation function.
References errTolerance, inxTolerance, maxGainlessSteps, maxIter, minIter, mode, stepSolver, submode, and version.