Using non-scalar types as default values