As an extension-function with multiple receivers:
a post from 2014
and from 2017:
So, it wasn’t by design, but I’m not hopefull…
But, maybe it will be possible as inline class?