Freecad does not honor the property `Allow duplicate object labels in one Document` when creating a `'Part::Feature'`
- Dominant language
- C++
- Stars
- 33.6k
- Forks
- 6k
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 196
Description
### Is there an existing issue for this?
- [X] I have searched the existing issues
### Problem description
Freecad does not honor the property `Allow duplicate object labels in one Document` when pasting creating a `'Part::Feature'`.
It is still adding `000, 001, 002` at the end of the new object.
### Full version info
```shell
OS: Ubuntu 24.04 LTS (ubuntu:GNOME/ubuntu)
Word size of FreeCAD: 64-bit
Version: 0.22.0dev.37898 (Git) AppImage
Build type: Release
Branch: main
Hash: 308013fb975ec3bf0dc5cb616ef76a4095e71cc5
Python 3.11.9, Qt 5.15.13, Coin 4.0.2, Vtk 9.2.6, OCC 7.7.2
Locale: English/United States (en_US)
```
### Subproject(s) affected?
Core
### Anything else?
> To verify, paste this multiple times in the Python console:
`FreeCAD.ActiveDocument.addObject("Part::Feature", "Unfold")`
### Code of Conduct
- [X] I agree to follow this project's Code of Conduct
Contributor guide
Assessment
This issue has not been assessed yet.