Filter std::unique_ptr trivial members