This PR adds a --view-only-type flag to viewer to allow
a type to be generated without a cloner.
This is made available to make the few cases where writing
a custom cloner is more practical, for example if the field
is an interface.
Updates corp/#16789
Signed-off-by: Kristoffer Dalby <[email protected]>