BUG: backport _propogate_attributes method from pandas master