allow externalizing of structs as copy (#53, #47)