1# Creating an Application Clone 2<!--Kit: Ability Kit--> 3<!--Subsystem: BundleManager--> 4<!--Owner: @wanghang904--> 5<!--Designer: @hanfeng6--> 6<!--Tester: @kongjing2--> 7<!--Adviser: @Brilliantry_Rui--> 8 9Application clone supports users to install multiple identical applications on one device, allowing several accounts to log into and run the applications at the same time without affecting each other. When users log in with two different accounts to a social media or a game application simultaneously, they do not have to switch accounts, reducing frequent logins. 10 11After an application is cloned, multiple applications with the same icon are displayed on the home screen. An application with a lower corner mark is a cloned application. 12 13Relationship between the main application and the cloned application: 14- These two applications share the same program. For example, when the main application is updated, the cloned one is synchronously updated, including icon, label, and new features. 15- Both applications are independent of each other in terms of feature enabling, related configurations, and data. 16- When the main application is uninstalled, all cloned applications will also be uninstalled. However, uninstalling a cloned application does not affect the main application. 17 18The following figure shows the effect of cloned applications. 19 20 21 22## Constraints 23The input method application cannot create an application clone. 24 25## How to Develop 26 271. Configure the [multiAppMode](app-configuration-file.md#multiappmode) field in the **AppScope/application.json5** configuration file in the project. The code snippet is as follows: 28 ```json 29 { 30 "app": { 31 "multiAppMode": { 32 "multiAppModeType": "appClone", 33 "maxCount": 2 34 } 35 } 36 } 37 ``` 38 392. Clone an application. 40 41 - Build and package the configured project and install it on the device. 42 43  44 45 - Choose **Settings** > **System** > **App Clone**, and tap **Create**. 46 47  48 49  50 51 - Return to the home screen and check whether the application is cloned. 52 53  54 55 The three cloned applications in the figure are independent of each other in terms of running, data, and notification. 56