app like that
FastCloner
FastCloner

FastCloner is a fast deep cloning library for .NET 8+. It supports deep and shallow cloning with minimal configuration. It is performance-optimized and uses caching by default. You can install it via NuGet and it provides advanced usage scenarios for specific types. It relies on DeepClone for its operations.

Features

Deep and Shallow Cloning

Supports both deep and shallow cloning of objects, allowing users to choose the depth of cloning as per their needs. This feature ensures flexibility when dealing with object graphs.

Zero-Configuration Mappings

Works out of the box with pre-configured mappings. Users do not need to set up mappings manually, making the cloning process faster and more efficient.

Integration with Frameworks

Designed to integrate with .NET 8+, providing seamless compatibility and leveraging the latest enhancements in .NET technology.

Extensible Performance

Optimized for both performance and stability, even with complex object graphs. Extensively tested to ensure reliability in various use cases.

FastCloner.Contrib

An optional package provided to clone special types, such as Fonts. Users can include this additional package as needed.

Customization through Extension Methods

Allows customization via extension methods, enabling users to add their own logic to the cloning process if future migrations are needed.