Please add Clone method for MSBuildSettings it is useful then this setting is shared between several tasks.