On the additional-kāf reading, “mithl” is genitive in form after kāf.

A Second Sense of Majāz: Case Changes Through Ellipsis and Addition