correctly handle APIs that accept Poly<T&> as an argument