Lansweeper updates existing asset records in its database when scanned data matches. If a match isn't found, or the scanned data cannot be associated with an existing asset, a new record is created. To prevent duplication, Lansweeper uses unique identifiers. For Windows, these are the NetBIOS computer and domain names. For non-Windows devices, the MAC address is used. When importing asset you need to ensure that the fields match or there will be duplicate records created. Why some of the assets merged after is because there was an existing record found when scanned.
If these do change, an additional feature, rename detection(Windows only) helps prevent duplication. More information can be found in the articles below:
https://community.lansweeper.com/t5/scanning-your-network/windows-rename-detection/ta-p/64311