Gary Goba interview from Nicole Kidman biography by James L Dickerson (2003) and Tom Cruise: An Unauthorized Biography by Andrew Morton (2008) :
"Kubrick filmed the sex scenes involving Nicole and her navy lover.....The man chosen to play the lover of Alice's dreams was Gary Goba, a twenty-nine-year-old Canadian model who had never acted before. When he auditioned, he thought it was for the job of an extra who would be wearing a naval officer's uniform. Instead, in December 1997, he found himself naked on the closed set in front of an equally naked Nicole Kidman.
Over the next few days, with barely an introduction, the two strangers performed fifty or so sexual positions, with Kubrick filming from the shadows all the while. The director wanted his naked star to explore every sex act, apart from oral sex, which he dismissed as a cinematic cliche.
"We just tried to do stuff that we had never ever seen before in movies," recalled Goba. "Sometimes she would come up with an idea or I would or Stanley would." In the scene that actually made it into the movie, Nicole is lying on her back wearing a summer dress while Goba caresses her and lifts her dress over her breasts to reveal her body. "Leave [the dress] up there and have those hands continue on down, and, like, grab her tits, kiss them if you want, hands all the way down her body and end up between her legs," said the director.
Goba, trying to be sensitive to Nicole, rested his hand on her thigh, knowing that it could make little difference to Stanley, as her other leg was shielding what his hand might actually be doing from the camera anyway. "Whoa! Whoa! Whoa! Gary, you've got to get right in there!" Kubrick instructed.
"I couldn't believe it," says Goba. "I just couldn't believe it. I think he was having fun with it. It was a joke for him, but I think he went a little far for her because as the days went on, she would be like, 'Okay, cut!' Like this is getting too intimate, but he just let it go. It was like he was trying to have things done to piss her off—or the opposite. It was weird. He was laughing. He thought it was so funny."