code: func deduplicateMPs(mounts []schema.Mount) []schema.Mount {
  	var res []schema.Mount
  	seen := make(map[string]struct{})
  	for _, m := range mounts {
  		cleanPath := path.Clean(m.Path)
  		if _, ok := seen[cleanPath]; !ok {
  			res = append(res, m)
  			seen[cleanPath] = struct{}{}
  		}
  	}
  	return res
  }
docs: // deduplicateMPs removes Mounts with duplicated paths. If there's more than
  // one Mount with the same path, it keeps the first one encountered.