It could be the secret to clothes that look better and last longer.