A growing number of employers—especially in the digital sector—are introducing special benefits such as “fur-ternity leave” for employees with pets. But before joining the trend, companies might want to check first with their in-house lawyers.

Employees at mParticle, a data analytics company in New York, are offered what it calls “paw-ternity leave”— two weeks of paid time off for those who adopt a rescue dog or other pet. The company also allows pets at work.