Attaching simple metadata to types

I want to create an object that behaves identically as some existing type (StructArrays in my case), but with some metadata.
So x::StructArrayWithMeta, that does what StructArray does, and also has a x.meta1 field.

Having a field x.data::StructArray and using x.data is one way, but I don’t want to write “.data” every time.

Is this possible?

It seems this link discusses the solution to my problem .