@SQLDev
Yes, SQL Server 2022, a new feature called Contained Availability Groups was introduced. This is essentially a unique form of Availability Group that handles server-level elements required by databases within an Availability Group to maintain consistency across all replicas. These elements can include logins or SQL Server Agent jobs. By utilizing Contained Availability Groups, the need to recreate and remove server-level objects across secondary replicas is eliminated.
Since logins and SQL Server Agent jobs are created in the master and msdb databases, respectively, Contained Availability Groups will have their own copies of master and msdb. The server-level objects that exist within the Contained Availability Groups are limited within its boundaries. What that means is only the logins and SQL Server Agent jobs created within the context of the Contained Availability Groups will be created in those system databases.
It will be look like below-

Thank you!