I think the line between "inspiration" and "plagiarism" is often so thin, that you risk falling into the latter one.