Fix mkSerialClone() Class cast.