metagen support for discarding wrapped returned objects ownership