Allow less writing for setProperties with the same value

This change allows you to set multiple properties with the same value.

Old way:
`object.setProperties({'prop1': false, 'prop2': false});`

New way:
`object.setProperties(['prop1', 'prop2'], false);`