support copy/move operations cross different libraries