The deal comes practically 5 years after Etsy bought Depop for $1.62 billion, at a time when secondhand clothes apps have been gaining traction in the course of the pandemic.