Disable shadow copy

This PR disables shadow copy in ReSharper. Should fix #279.