AFAIK, Windows does not provide a native setting or registry tweak to increase the built-in clipboard history limit beyond its hardcoded maximum of 25 items. If you need to store more than 25 items, you can use a third-party clipboard manager.
Alternative solutions include using a third-party manager such as Ditto or CopyQ. Clipboard history features in tools such as PowerToys, if available, or applications from the Microsoft Store can also provide the ability to retain hundreds of clipped items.
If you only need certain items to remain available permanently, press Windows Key + V and click the pin icon on individual entries. Pinned items remain in your clipboard history even after you restart your computer or exceed the 25-item limit.
If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.
hth
Marcin