public static IPalette CreateRef(this IPalette objectRef) => ((IPalette)objectRef.CreateRef(typeof(IPalette)));