I thought inharmonicity was basically when the partials of a complex wave don't belong to integer multiples of a fundamental frequency.
Yes - a harmonic series is sequence of frequencies each of which is an integer multiple of a fundamental. The usual meaning of 'inharmonicity' is the degree to which partials of a sound deviate from that harmonic series, or a situation in which that deviation is occurring.
I recently found the term "inharmonicity coefficient" and the authors in the paper said inharmonicity is related to how "clear" the sound is.
That doesn't represent any standard definition of inharmonicity, but it may still be a fair statement in itself - because, for example, a more harmonic sound give have a clearer impression of pitch.
What is the difference between dissonance and inharmonicity?
We've defined inharmonicity above. 'Dissonance' is a somewhat general word that refers to some sound or note that audibly doesn't 'agree' with another sound. It might have a number of meanings dependent on context.
For example, two notes that give a sensation of roughness when sounded together may be called dissonant; a particular note that is judged to need resolution may also be called a 'dissonance' (hence why a the interval of a perfect fourth can be called 'dissonant' in some cases, even though two notes a perfect fourth apart do not sound 'rough'). Dissonance can also be defined in terms of the sensation of beating/roughness heard between two simultaneous sine waves, and groups thereof - see https://sethares.engr.wisc.edu/consemi.html.
Is dissonance a type of inharmonicity?
Not really - for a start, 'dissonance' is the more general word, while 'inharmonicity' refers to something more specific.
But could inharmonicity give rise to a type of dissonance? Actually yes, it could. If we have an instrument with a very inharmonic series of partials - perhaps something with multiple dimensions of resonance, like a drum or bell - we might find that two of the partials are less than a minor third apart, and therefore give rise to dissonance according to the definition on Sethares' page linked above.