Added NSWindow instance method imageCaptureWithOptions: