copy __doc__ from origin