REGR: DateOffset attributes update fails with no errors.
- [x] I have checked that this issue has not already been reported.

- [x] I have confirmed this bug exists on the latest version of pandas.

- [x] (optional) I have confirmed this bug exists on the master branch of pandas.


#### Code Sample

```python
import pandas

base = pandas.Timestamp("2020-01-01")
offset = pandas.DateOffset(years=1)
print(base + offset)
>>> 2021-01-01 00:00:00
print(offset)
>>> <DateOffset: years=1>
offset.years = 5
print(base + offset)
>>> 2021-01-01 00:00:00
print(offset)
>>> <DateOffset: years=5>
```

#### Problem description

I need to dynamically change some of the DateOffset attributes and just setting them seems like the most intuitive thing to do. 
And it seems to work: no error is raised and the attribute value is updated.
When actually using it, though, the original value is used.

#### Expected Output

This is obviously due to the way the DateOffset is implemented, as a wrapper for cpython timedelta and dateutils relativedelta.
The ideal outcome for this would be having the object update itself, but I can understand why the class is "static".
The way it is, it may be better to inhibit attribute assignation instead of failing silently.

Event better would be having some method to generate a new DateOffset with just a couple of fields changed. 
Depending on the change I may even be able to make the PR myself, once the desired behavior is clarified. :D

#### Output of ``pd.show_versions()``

<details>

INSTALLED VERSIONS
------------------
commit           : 2a7d3326dee660824a8433ffd01065f8ac37f7d6
python           : 3.7.7.final.0
python-bits      : 64
OS               : Linux
OS-release       : 5.4.0-47-generic
Version          : #51~18.04.1-Ubuntu SMP Sat Sep 5 14:35:50 UTC 2020
machine          : x86_64
processor        : x86_64
byteorder        : little
LC_ALL           : None
LANG             : en_US.UTF-8
LOCALE           : en_US.UTF-8
pandas           : 1.1.2
numpy            : 1.19.2
pytz             : 2020.1
dateutil         : 2.8.1
pip              : 20.1.1
setuptools       : 49.2.0.post20200714
Cython           : None
pytest           : 6.1.1
hypothesis       : None
sphinx           : 3.1.2
blosc            : None
feather          : None
xlsxwriter       : None
lxml.etree       : None
html5lib         : 1.1
pymysql          : None
psycopg2         : None
jinja2           : 2.11.2
IPython          : None
pandas_datareader: None
bs4              : None
bottleneck       : None
fsspec           : None
fastparquet      : None
gcsfs            : None
matplotlib       : None
numexpr          : None
odfpy            : None
openpyxl         : None
pandas_gbq       : None
pyarrow          : None
pytables         : None
pyxlsb           : None
s3fs             : None
scipy            : None
sqlalchemy       : None
tables           : None
tabulate         : None
xarray           : None
xlrd             : None
xlwt             : None
numba            : None

</details>
