In an effort to attract more top female talent to Silicon Valley, tech giants Facebook and Apple are offering to pay for employees who want to freeze their eggs and put off parenthood to focus on their careers.

OOPS: Microsoft CEO Steps in It With 'Advice' for Women Seeking a Raise

The costs of the procedure are significant at $10,000 per round, plus $500 per year for storage, but both Facebook and Apple will cover costs up to $20,000.

Cheryl Casone and Dr. Sheeva Talebian joined Gretchen Carlson on "The Real Story" to discuss these generous maternity benefits and if they will work.

Casone said this makes sense for tech companies, who are trying to find top female executives and engineers.

"From a business perspective, they're talking to a 25-year-old woman out there, out of Harvard, and they're saying, 'Hey, we'll pay for it, come on over,'" Casone said, adding this could be a very attractive offer for young professional women.

Talebian, an infertility specialist, said she is very clear with her patients that if they are ready to start a family, now is the time. If not, then freezing their eggs could be a solution.

Carlson pointed out, however, that the odds of freezing eggs and ending up with a baby are not that great.

Despite the odds, Casone said that this will be an effective recruiting strategy for Facebook, Apple and other tech companies.

"To have this option presented to you by a top company, out in California, say, 'We're going to pay you a lot of great money. Come here and have kids later.' It's a very attractive promise. They have to make the personal decision, obviously, but from a business perspective, this is going to work on a lot of these young executives."

Watch the clip above and let us know what you think!

NH Lawmaker: Congresswoman Will Lose Because She's 'Ugly as Sin'

Sexist? Matt Lauer Called Out Over Questions to GM's Female CEO

OOPS: Microsoft CEO Steps in It With 'Advice' for Women Seeking a Raise