Reproduction link

Steps to reproduce
Add scrolling to a table
What is expected?
Not duplicating every dom attributes or having some way to blacklist ?
What is actually happening?
It break some of our test as we expect only one instance of the testId to play with the sorting.
| Environment |
Info |
| antd |
5.27.0 |
| React |
19.2.0 |
| System |
osx |
| Browser |
chrome |
5.26.4 doesn't seem to have this behavior