What accounts for the genitive in fa-mithliki?

Imruʾ al-Qays: Dialogue in ʿUnayzah’s Litter, Boasting, and an Oath (Verses 13–18)