Contains a subset of https://github.com/lukeed/klona/tree/v2.0.4
