Those personal pronouns which historically end with nasal consonants (im [3SG], dem [3PL]) have phonetic counterparts with nasal vowels (ihn and dehn), which represent the spread of the nasal feature to the preceding vowel followed by the loss of the consonant.
Ihn and dehn can only be used in subject position, cannot occur in an elliptical, verbless answer, and cannot be focused.