Sweden said on Thursday it had confirmed a first case of mpox, a viral infection that spreads through close contact.