1# Creating an Application Clone
2Application clone supports users to install multiple identical applications on one device, allowing several accounts to log in to 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 the account, reducing frequent logins.
3
4After application clones are created, multiple applications with the same icon will be displayed on the home screen. An application with a lower corner mark is a cloned application.
5
6Relationship between the main application and the application clone:
7- These two applications share the same one. For example, when the main application is updated, both of them are synchronously updated, including icon, label, and features of the application.
8- These two applications are independent of each other in terms of enabling, related configurations, and data.
9- When the main application is uninstalled, all application clones will also be uninstalled. However, the main application will not be affected if a user uninstalls the application clones.
10
11The following figure shows the effect.
12
13![Figure 1](figures/app-clone1.png)
14
15
16## How to Develop
17
181.  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:
19```json
20    {
21      "app": {
22        "multiAppMode": {
23          "multiAppModeType": "appClone",
24          "maxCount": 2
25        }
26      }
27    }
28    ```
29
302. Create an application clone.
31
32    - Build and package the configured project and install it on the device.
33
34      ![Figure 2](figures/app-clone4.png)
35
36    - Choose **Settings** > **System** > **App Clone**, and touch **Create**.
37
38      ![Figure 3](figures/app-clone5.png)
39
40      ![Figure 4](figures/app-clone3.png)
41
42    - Return to the home screen and check whether the application clone is created.
43
44      ![Figure 1](figures/app-clone1.png)
45
46      The three applications in the figure are independent of each other in terms of running, data, and notification.
47
48