Copied in freetype-go project at https://code.google.com/p/freetype-go/source/detail?r=fe6099d37e696d890913122ac72ba7b1cf5e34bd
Added CloneKind and SubImageKind functions.