RFC5649 defines extended version of AES keywrap, which supports padding.
https://datatracker.ietf.org/doc/html/rfc5649
file:///home/gniibe/Downloads/NIST.SP.800-38F.pdf
It's good for libgcrypt to have the feature, even though an application can just utilize existing AES wrap routines, because having constant for AES-wrap-pad in an application looks not nice.
Given libgcrypt has AES keywrap already, it's just addition of standard IV, handling of smallest input (only a single block) case, and verification of result.