Explanation
You can decide whether to allow the same local file registration. Because virtual and local files are not able to compare, virtual and local files can be duplicates.
Because browsers can't perform path checking on local resources, duplicate comparisons are made by filename, size, and the last modification date of the file.
var dx = dx5.get("component-id");
// Allowing duplicates
var filtered = dx.checkDuplication(false);
Example