Borrowed from Arabic شَكْلًا (šaklan), adverbial accusative of شَكْل (šakl). By surface analysis, shakl + -an. Compare Turkish şeklen, Azerbaijani şəklən and Uyghur شەكلەن (sheklen).
shaklan