[grid] Making a copy of default capabilities, because they are *mutable*!
@@ -169,7 +169,7 @@ public GridNodeConfiguration(NodeJsonConfiguration jsonConfig) {
super(jsonConfig);
role = ROLE;
capabilities = ofNullable(jsonConfig.getCapabilities())
- .orElse(DEFAULT_CONFIG_FROM_JSON.getCapabilities());
+ .orElse(new ArrayList<>(DEFAULT_CONFIG_FROM_JSON.getCapabilities()));
maxSession = ofNullable(jsonConfig.getMaxSession())
.orElse(DEFAULT_CONFIG_FROM_JSON.getMaxSession());
register = ofNullable(jsonConfig.getRegister())
